/**
 * Renders the canonical URL of the static directory. This is defined in
 * the apps.properties file, where the application's mounting is done.
 * 
 * @param {Sting} path to append to the mountpoint
 * @member Hyperlink
 */
var staticUrl_macro = function(param, path) {
    return app.getAppsProperties()["staticMountpoint"] + "/" + (path || "");
}

/**
 * Return the base URL to be more flexible.
 * @return base URL / hostname of the application
 */
var baseUrl_macro = function() {
    return app.properties["baseURL"];
}